* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* MENU */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  display: flex;
  justify-content: center; /* Centramos el contenido principal */
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  font-family: 'Raleway', sans-serif;
}

.logo {
  position: absolute; /* Lo sacamos del flujo para que no afecte el centrado */
  left: 2rem;
}

.logo img {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #0E3166;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #E06D06;
}

/* PRODUCTO */
.product-detail {
  display: flex;
  gap: 3rem;
  padding: 4rem 2rem;
  background-color: #ffffff;
  flex-wrap: wrap;
  font-family: 'Raleway', sans-serif;
}

.product-images {
  flex: 1 1 45%;
  display: flex;
  gap: 1rem;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: border-color 0.3s;
}

.thumbnails img:hover {
  border-color: #C19A5B;
}

.main-image-container {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
}

#mainImage {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

#mainImage:hover {
  transform: scale(1.1);
}

.product-info {
  flex: 1 1 45%;
  color: #1c1c1c;
}

.product-info h2 {
  color: #003D73;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.product-info li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.price {
  font-size: 1.3rem;
  color:  #E06D06;
  font-weight: bold;
  margin-bottom: 1rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button-group button,
.button-group .specs-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
}

.button-group button {
  background-color: #003D73;
  color: white;
  border: none;
  cursor: pointer;
}

.button-group .specs-btn {
  background-color: #E06D06;
  color: white;
}
.button-group .specs-btn:hover {
  background-color: #E06D06;
}

/* SECCION CARRUSEL */
/* section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
} */

.product-carousel {
  min-width: 100%;
  background-color: #F5F9FC;
  margin: 0;
  padding: 4rem 0;
}

.product-carousel h2 {
  text-align: center;
  font-size: 2rem;
  color: #003D73;
  margin-bottom: 2rem;
}

.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  justify-content: center;
  transition: transform 0.4s ease-in-out;
}

.carousel-item {
  min-width: 250px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 1rem;
  text-align: center;
}

.carousel-item img {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.carousel-item p {
  font-size: 0.95rem;
  color: #1c1c1c;
  font-weight: 500;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #E06D06;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-btn:hover {
  background-color: #E06D06;
} 

/* footer */
.custom-footer {
  background-color: #0E3166;
  color: #ffffff;
  padding: 3rem 0;
  font-size: 0.95rem;
  width: 100vw;
  margin: 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand,
.footer-links,
.footer-contact {
  flex: 1 1 28%;
  min-width: 250px;
}

.footer-brand h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.footer-brand p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.social-icons a {
  display: inline-block;
  margin-right: 1rem;
}

.social-icons img {
  height: 28px;
  width: 28px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-links h4,
.footer-contact h4 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.btn {
  background-color: #0E3166;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border: none;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s;
}